package com.hmy.infrastructure.controller;

import com.hmy.infrastructure.service.DingTalkService;

import java.net.URISyntaxException;

@RestController
public class DingTalkController {

    private DingTalkService dingTalkService;
    @GetMapping("/feign/dingTalk/getAccessToken")
    private GetAppTokenResponse getAccessToken() throws URISyntaxException {
        return dingTalkService.getAccessToken();
    }
}
